
#ifndef __FR_STRUCT_H__
#define __FR_STRUCT_H__

struct fr_list{
  u_int8_t             ether_dhost[ETHER_ADDR_LEN];
  u_int8_t             ether_shost[ETHER_ADDR_LEN];
  u_int16_t            th_sport;             /* source port */
  u_int16_t            th_dport;             /* destination port */
  int                  id;
  struct fr_list       *n_e;            /*next element of list*/
};

struct fr_list*
ins_fr ( u_int16_t th_sport,
		 u_int16_t th_dport,
		 struct ether_header  *eth_fr);
  
struct fr_list* s_fr_list_id (int s_id);



#endif

